package com.cg.Dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import lombok.Data;
@Data
public class LoginDto {
    @Schema(description = "登录账号，字符串类型，确保唯一性，用于用户登录验证，非空")
    @Max (value = 20,message = "账号最长为20个字符")
    private String loginAccount;
    @Schema(description = "登录密码")
    @Max (value = 20,message = "密码最长为20个字符")
    private String password;
}
